$baseOrange: #ff9c00;
$baseBorder: 1px solid #e7e3e3;

body {
    padding-bottom: 40px;
    font-size: 13px;    background: #efeff4;
}
.user-basic {
    height: 230px;
    background: url(../img/moodBg.png) no-repeat;
    background-size: 100% 100%;
    padding: 10px;
    text-align: center;
    position: relative;

    img {
        width: 72px;
        height: 72px;
        border-radius: 36px;
        border: 2px solid #fff;
    }
    .info {
        color: #333;
        text-align: center;

        p {
            line-height: 1.5;
        }
        .level {
            width: 70px;
            height: auto;
            margin-top: 10px;
            border-radius: 0px;
            border: 0px solid #fff;
        }
        .rz {
            width: 20px;
            height: 20px;
            border-radius: 0px;
            border: 0px solid #fff;
        }
        .link {
            margin-top: 10px;

            a {
                height: 20px;
                width: 20px;
                display: inline-block;
                border-radius: 10px;
                text-align: center;
                line-height: 20px;
                background: #54A63D;
            }
            a:first-child {
                background: #D8B257;
            }
            a:last-child {
                background: #46BCCB;
            }
            i {
                color: #fff;
            }
        }
    }
    .href {
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 3px 0;
        z-index: 10;
        text-align: center;
        position: absolute;

        div {
            width: 30%;
            color: #fff;
            display: inline-block;
            text-align: center;

            span {
                display: block;
            }
        }
        .border {
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-top: 0;
            border-bottom: 0;
        }
    }
    .href-bg {
        left: 0;
        bottom: 0;
        z-index: 1;
        width: 100%;
        height: 44px;
        background: $baseOrange;
        position: absolute;
    }
}
.add-photo {
    height: 100px;
    padding: 10px;

    span {
    }
    .fl {
        float: left;
        height: 72px;
        width: 72px;
        overflow: hidden;

        img {
            height: 72px;
            width: 72px;
        }
    }
    .fr {
        float: right;
        color: #fff;
        width: 86px;
        height: 86px;
        padding: 5px 0;
        // display: block;
        // margin: 0 auto;
        text-align: center;
        background: #E81056;
        border-radius: 43px;

        i {
            color: #fff;
            font-size: 30px;
        }
    }
}
.head {
    margin-top: 15px;
    border-top: $baseBorder;
    border-bottom: $baseBorder;
    padding: 0 10px;
    background: #fff;
    height: 32px;
    line-height: 32px;

    span {
        font-size: 14px;
    }
    a {
        float: right;
        color: #E81056;
        margin-top: 5px;

        i {
            color: #E81056;
            vertical-align: middle;
            margin-right: 1px;
        }
    }
    .spangd {
        float: right;
        font-size: 12px;
    }
}
.inner {
    padding: 15px;
    color: #888;
    text-align: center;
    line-height: 2;
    background: #fff;
    border-bottom: $baseBorder;
}
.orange {
    color: $baseOrange;
    border: 2px solid;
    margin-right: 10px;
    font-size: 12px;
}
ul {
    color: #888;
    padding: 10px 20px;

    li {
        width: 100%;
        margin: 6px 0;

        span {
            float: right;
        }
        &:before {
            display: table;
            content: " ";
            clear: both;
        }
        &:after {
            content: " ";
            display: table;
            clear: both;
            height: 0;
        }
    }
}
.tag {
    padding: 10px;
background: #fff;
    span {
        padding: 0 5px;
        color: $baseOrange;
        text-align: center;
        border: 1px solid #bbb;
        margin-right: 10px;
        border-radius: 5px;
        display: inline-block;
    }
}
.video,
.photo,
.baseInfo{
    background: #fff;
}
.bottom {
    overflow: hidden;
    display: flex;
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: white;
    padding: 8px 15px;
    border-top: 1px solid #cac8c8;
    justify-content: space-between;

    a.btn {
        width: 31%;
        height: 32px;
        color: white;
        padding: 0 5px;
        text-align: center;
        border-radius: 3px;
        background: $baseOrange;
        line-height: 32px;
        color: #fff;

        i {
            color: #fff;
        }
        &.focus {
            border: 1px solid $baseOrange;
            background: #fff;
            color: $baseOrange;
            line-height: 28px;

            i {
                color: $baseOrange;
            }
        }
        &.focused {
            border: 1px solid #ddd;
            background: #fff;
            color: #ddd;
            line-height: 28px;

            i {
                color: #ddd;
            }
        }
    }
}
#greet {
    // display: none;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.5);
    position: fixed;
    // top: 0;
    top: -90px;
    left: 0;
    bottom: 0;
    width: 100%;

    .main {
        border-radius: 5px;
        background: white;
        position: relative;
        margin: 50% 15px 0 15px;

        >i {
            width: 28px;
            height: 28px;
            box-shadow: 0px 2px 4px #aaaaaa;
            text-align: center;
            position: absolute;
            left: 50%;
            margin-left: -14px;
            top: -14px;
            background: white;
            color: #e9165b;
            line-height: 28px;
            border-radius: 50%;
        }
        .content {
            color: #7c7b7b;
            padding: 22px 10px 0px 10px;
            border-bottom: 1px solid #e2e2e2;

            >div {
                background: #E3E3E3;
                margin-bottom: 14px;
                padding: 10px 5px;
                border: 1px solid #E3E3E3;
            }
            .cur {
                border: 1px solid red;
            }
        }
        .modal-footer {
            overflow: hidden;

            a {
                width: 50%;
                height: 35px;
                float: left;
                line-height: 35px;
                text-align: center;
            }
            a:last-child {
                color: #e80f56;
                border-left: 1px solid #e2e2e2;
            }
        }
    }
}
#letter {
    z-index: 9999;
    background: rgba(3, 3, 3, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    .main {
        border-radius: 5px;
        background: white;
        position: relative;
        margin: 50% 15px 0 15px;

        >i {
            width: 28px;
            height: 28px;
            box-shadow: 0px 2px 4px #aaaaaa;
            text-align: center;
            position: absolute;
            left: 50%;
            margin-left: -14px;
            top: -14px;
            background: white;
            color: #e9165b;
            line-height: 28px;
            border-radius: 50%;
        }
        .content {
            color: #7c7b7b;
            padding: 20px 25px;
            border-bottom: 1px solid #e2e2e2;

            h2 {
                margin-bottom: 5px;
            }
            .controls {
                overflow: hidden;
                margin-bottom: 15px;
                display: flex;

                span {
                    width: 45px;
                }
                input {
                    height: 22px;
                }
                textarea {
                    height: 100px;
                    border: none;
                }
                input, textarea {
                    flex: 1;
                    background: #E3E3E3;
                }
            }
        }
        .modal-footer {
            overflow: hidden;

            a {
                width: 50%;
                height: 35px;
                float: left;
                line-height: 35px;
                text-align: center;
            }
            a:last-child {
                color: #e80f56;
                border-left: 1px solid #e2e2e2;
            }
        }
    }
}
.video, .photo {
    li {
        width: 80px;
        display: inline-block;
        margin: 0 2px;
        height: 96px;
        overflow: hidden;
        position: relative;

        img {
            width: 100%;
            height: 100%;
        }
        video {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
        }
        i {
            font-size: 20px;
            position: absolute;
            display: block;
            width: 20px;
            height: 20px;
            line-height: 20px;
            top: 50%;
            left: 50%;
            color: #fff;
            margin-left: -10px;
            margin-top: -10px;
        }
    }
}
.preview-img {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: #000;

    i {
        font-size: 30px;
        position: absolute;
        right: 10px;
        top: 10px;
        color: #fff;
    }
    img {
        width: 100%;
    }
}